package com.zgt.dao;

import java.util.List;

import com.zgt.model.Admin;
import com.zgt.model.Student;
import com.zgt.model.Teacher;

public interface TeacherDao {

	public void saveTeacher(Teacher teacher);

	public Teacher getTeacherById(int id);

	public List<Teacher> listTeacher(int pageStart,int pageSize);

	public void updateTeacher(Teacher teacher);

	public void deleteTeacherById(int id);

	public Teacher checkLogin(Teacher Teacher);

	public boolean isExist(Teacher Teacher);

	public int getCount(String query);

	public void saveTeachers(List list);

	public List<Teacher> listSearch(final String query, final int start, final int size );

	public List<Teacher> toExcle(String keyType, String key);
}
